/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package aic.ws;

import aic.beans.Customer;
import javax.jws.WebService;
import aic.misc.DebugPrint;

//@WebService(portName = "BankingPT", targetNamespace = "http://infosys.tuwien.ac.at/ait09/ass1/dto/banking", endpointInterface = "aic.ws.BankingService", serviceName = "BankingService")
@WebService(portName = "BankingPT", endpointInterface = "aic.ws.BankingService", serviceName = "BankingService")
public class BankingServiceImpl implements BankingService {

    public void charge_credit_card(Customer customer, int amount) {
        DebugPrint.println("Charging the credit card of customer " + customer + " for an amount of " + amount + "€");
    }

    public void do_bank_transfer(Customer customer, int amount) {
        DebugPrint.println("Performing a bank transfer for customer " + customer + " for an amount of " + amount + "€");
    }
}
